package com.lktx.sso.admin.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.time.LocalDateTime;

/** app分组 - sso_app_group */
@Data
@Table("sso_app_group")
public class SsoAppGroup {
    /**分组ID*/
    @Id(value = "sso_app_group_id", keyType = KeyType.Auto)
    private Integer ssoAppGroupId;
    /**分组名字*/
    private String name;
    /**备注*/
    private String remark;
    /**创建时间*/
    @Column(onInsertValue = "now()")
    private LocalDateTime createTime;
    /**更新时间*/
    @Column(onUpdateValue = "now()", onInsertValue = "now()")
    private LocalDateTime updateTime;
}